package com.eric.ztea.controller;

import org.springframework.ui.Model;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.eric.ztea.domain.Msg;

@Controller
public class HomeController {

	@RequestMapping("/")
	public String index(Model model){
		return "home";
	}
	
	@RequestMapping("/login")
	public String login() {
		return "login";
	}

	@RequestMapping("/home")
	public String home() {
		return "home";
	}
	
	@RequestMapping("/register")
	public String register() {
		return "register";
	}
	
	
}